package com.rongxue.service;

import com.alibaba.fastjson.JSONObject;
import com.rongxue.pojo.*;

import java.util.List;
import java.util.Map;


public interface ProjectService {

    ObjectResult tender(XMLBean xmlBean);

    ObjectResult verificationTenderNotify(JSONObject jsonObject);
    //还款
    ObjectResult repayment(XMLBean xmlBean);
    //还款回调
    public ObjectResult loanNotify(List<Map<String, String>> list,String batch_no);
    //还款撤销
    ObjectResult batchRevokeRepayment(XMLBean xmlBean);
    //查询生效中的标
    List<SProject>  selectProjectList ();
    //项目资料详情
    SProject  selectProjectByPid (String id);

    //产品投资列表
    List<SProject> selectProjectInvestList(String pid);

    //用户投资
    List<SProject> selectUserInvestList(Map<String,Object> map);

    SProject  selectProjectListLevel1();

    SProject selectProjectListLevel2();

    //排行版
    ObjectResult rank(XMLBean xmlBean);

    //借款信息
    ObjectResult borrowerFunds(XMLBean xmlBean);
}
